﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;

namespace Thaire.Investment.Repository.Mapping
{
    class TypeOfPaymentMap : ClassMap<TypeOfPayment>
    {

        public TypeOfPaymentMap()
        {
            Table("TYPE_OF_PAYMENT");
            Id(x => x.ID, "TYPEOFPAYMENT_ID").GeneratedBy.Identity();

            Map(x => x.Name, "TYPEOFPAYMENT_NAME");

        }


    }
}
